﻿using System;
namespace OnLineExam.Model
{
	/// <summary>
	/// Score:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Score
	{
		public Score()
		{}
		#region Model
		private int _id;
		private string _userid;
		private int _depid;
		private int _paperid;
		private int _courseid;
		private int _userscore;
		private int _singleproblemmark;
		private int _multiproblemmark;
		private int _judgeproblemmark;
		private int _fillblankproblemmark;
		private int _questionproblemmark;
		private DateTime? _examtime;
		private DateTime? _judgetime;
		/// <summary>
		/// 编号
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 用户编号
		/// </summary>
		public string UserID
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int DepID
		{
			set{ _depid=value;}
			get{return _depid;}
		}
		/// <summary>
		/// 试卷编号
		/// </summary>
		public int PaperID
		{
			set{ _paperid=value;}
			get{return _paperid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int CourseID
		{
			set{ _courseid=value;}
			get{return _courseid;}
		}
		/// <summary>
		/// 分数
		/// </summary>
		public int UserScore
		{
			set{ _userscore=value;}
			get{return _userscore;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int SingleProblemMark
		{
			set{ _singleproblemmark=value;}
			get{return _singleproblemmark;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int MultiProblemMark
		{
			set{ _multiproblemmark=value;}
			get{return _multiproblemmark;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int JudgeProblemMark
		{
			set{ _judgeproblemmark=value;}
			get{return _judgeproblemmark;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int FillBlankProblemMark
		{
			set{ _fillblankproblemmark=value;}
			get{return _fillblankproblemmark;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int QuestionProblemMark
		{
			set{ _questionproblemmark=value;}
			get{return _questionproblemmark;}
		}
		/// <summary>
		/// 考试时间
		/// </summary>
		public DateTime? ExamTime
		{
			set{ _examtime=value;}
			get{return _examtime;}
		}
		/// <summary>
		/// 评卷时间
		/// </summary>
		public DateTime? JudgeTime
		{
			set{ _judgetime=value;}
			get{return _judgetime;}
		}
		#endregion Model

        #region 附加
        private string username;

        public string UserName
        {
            get { return username; }
            set { username = value; }
        }
        #endregion
    }
}

